﻿@model IEnumerable<SenileCoderMvc.Library.Models.CodeSnippet>
@{
    ViewBag.Title = "Index";
}
<span class="editor">
    @Html.ActionLink("Create New Snippet", "Create")
</span>
<div>
    <div id="accordion" style="display: none;">
        @foreach (var item in Model)
        {
            @Html.Partial("_Snippet", item)
        }
    </div>
</div>
@if (false)
{
    <script src="../../Scripts/jquery-1.6.1.min.js" type="text/javascript"></script>
    <script src="../../Scripts/jquery-ui-1.8.12.min.js" type="text/javascript"></script>
}